DO
$do$
DECLARE
   i_OnDate date;
BEGIN
	for i_OnDate in select oper_date from ds.ft_posting_f
   LOOP
   	  RAISE NOTICE 'ds.ft_posting_f: %', i_OnDate;
   	  call ds.fill_account_turnover_f(i_OnDate);
   END LOOP;
END
$do$